package com.ruoyi.job.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "post-publisher") // 根据实际情况调整服务名称
public interface PublisherClient {
    @PostMapping("/send/msg")
    String sendEmail(@RequestParam("exchangeName") String exchangeName,@RequestParam("message") String message);
}
